package cn.niit.smbms;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@MapperScan(basePackages = "cn.niit.smbms.dao")
@SpringBootApplication
public class SmbmsApplication {

    public static void main(String[] args) {
        /*ConfigurableApplicationContext context = */SpringApplication.run(SmbmsApplication.class, args);
        /*String [] beanNames = context.getBeanDefinitionNames();
        for(String beanName : beanNames){
            System.out.println(beanName);
        }

        Company company = context.getBean("company", Company.class);
        System.out.println(company);*/
    }

}
